package com.lzh.mapper;

import com.lzh.bean.SupplierInquiry;
import com.lzh.query.SupplierInquiryQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SupplierInquiryMapper {

    //保存供应商询价单
    int save (SupplierInquiry supplierInquiry);

    List<Map> query(SupplierInquiryQuery supplierInquiryQuery);

    String queryMaxCode();

    SupplierInquiry queryById(int id);

    int cgStatus(@Param("id") int id,@Param("status")int status);
}
